package com.design.pattern;

public class Singleton1 {
	
	
	private static  Singleton1  singleton1 = new Singleton1();
	
	private Singleton1() {};
	
	public static Singleton1 getSingeton1() {
		if(singleton1!=null)
			return singleton1;
		else {
			singleton1=new Singleton1();
			return singleton1;
		}
	}
	

}
